// 获取题库分类
export const getTopic = (that) => {
  return that.$get("/web_question/admin/questionbank");
};
// 删除题库分类
export const delTopic = (that, obj) => {
  return that.$post("/web_question/admin/questionbank/del", obj);
};
// 修改是否上架
export const setShow = (that, obj) => {
  return that.$post("/web_question/admin/questionbank/setShow", obj);
};
// 添加
export const addTopic = (that, obj) => {
  return that.$post("/web_question/admin/questionbank/addTopic", obj);
};
// 修改setTopic
export const setTopic = (that, obj) => {
  return that.$post("/web_question/admin/questionbank/setTopic", obj);
};
// 删除多个
export const allDel = (that, obj) => {
  return that.$get("/web_question/admin/questionbank/allDel", obj);
};
